<template>
  <div>
    <el-card>
      <div slot="header">
        <h2>个人信息</h2>
      </div>
      <el-row>
        <el-col :span="10">
          <el-form label-width="80px">
            <el-form-item label="用户名:">
<!--              {{ this.$store.state.user.userName }}-->root
            </el-form-item>
            <el-form-item label="权限:">
<!--              {{ this.$store.state.user.userRole }}-->Admin
            </el-form-item>
            <el-form-item label="公司:">
<!--              {{ this.$store.state.user.company }}-->Hdu
            </el-form-item>
          </el-form>
        </el-col>
      </el-row>
    </el-card>
  </div>

</template>

<script setup>
export default {
  data() {
    return {
      profile: {
        name: 'John Doe',
        email: 'johndoe@example.com',
        address: '123 Main St, City, Country'
      }
    }
  }
}
</script>

<style scoped lang="scss">

</style>
